/****************************************************
          File Name:13-4.cpp
          Author: Abby Cin
          Mail: abbytsing@gmail.com
          Created Time: Sat 03 Jan 2015 08:16:19 PM CST
*****************************************************/

#include "13-4.h"

using std::cout;
using std::endl;

int main()
{
    Port one("foggy", "pop", 10);
    one.show();

    one += 1;
    cout << one << endl;

    one -= 3;
    one.show();

    VintagePort two;
    VintagePort three("angel", 309, "abby", 309);
    VintagePort four(three);
    
    cout << "---------testing '<<'---------\n";
    cout << two << endl;
    cout << three << endl;
    cout << four << endl;

    cout << "+++++++++testing '.show()'+++++++++ \n";
    four.show();
    two = three;
    two.show();

    return 0;
}
